Endoscopic-guided gauze pledgetting